package com.fhao.forum.model;

import lombok.Data;

import java.util.Date;

@Data
public class Message {
    private Long id;

    private Long postUserId; //发送的用户id

    private Long receiveUserId; //接收用户id

    private String content; //发送的内容

    private Byte state;

    private Byte deleteState;

    private Date createTime;

    private Date updateTime;

    //结果集-关联发送者对象
    private User postUser;
}